package com.google.code.sapwcrawler.data;
import java.net.URL;

public class Link
{
	private String title;
	private String rel;
	private URL href;
	
	public Link(String title,URL href)
	{
		this(title,href,null);
	}
	
	public Link(String title,URL href,String rel)
	{
		this.title	= title;
		this.href 	= href;
		this.rel	= rel;
	}
	
	public String getTitle()
	{
		return title;
	}
	
	public String getRel()
	{
		return rel;
	}
	
	public URL getHref()
	{
		return href;
	}
}
